package com.scorpio.redis.constant;

public class AppCacheConstant {

    //省市区缓存
    public static final String SYS_AREA_CACHE = "sys_area_cache:";

    //手机验证码
    public static final String PHONE_CODE_KEY = "phone_codes:";

    //验证码锁
    public static final String PHONE_CODE_LOCK_KEY = "phone_code_lock:";

    //IP发送短信总次数
    public static final String CACHE_IP_SEND_SMS_TOTAL = RedisConstants.SYS_CACHE + "IpSendSmsTotal:";

    //当日短信发送总数
    public static final String SMS_TODAY_TOTAL = RedisConstants.SYS_CACHE + "sms_today_total:";

    //缓存登录用户
    public static final String CACHE_LOGIN_USER = RedisConstants.SYS_CACHE + "LoginUser:";

    //密码登录失败最大次数
    public static final String CACHE_PASS_LOGIN_ERROR_TOTAL = RedisConstants.SYS_CACHE + "PassLoginErrorTotal:";

    //微信公众号AccessToken
    public static final String CACHE_WEIXIN_ACCESS_TOKEN = RedisConstants.SYS_CACHE + "WeiXinAccessToken";

    //微信公众号JsapiTicket
    public static final String CACHE_WEIXIN_JSAPI_TICKET = RedisConstants.SYS_CACHE + "WeiXinJsapiTicket";

    //关键字典
    public static final String CACHE_SENSITIVE_WORD = RedisConstants.SYS_CACHE + "sensitive_word";
}
